refactor: enhance configuration url handle #499
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #[issue_no]
Summary of Changes
This update enhances the "Developer Settings" UI by introducing a new Reload Installer button for reloading the application and replacing the existing Reset to Default button with a styled Button component, ensuring a consistent and modern user experience. The changes also improve layout alignment and maintain existing functionality.
Changelog
Added
Button
component.ButtonType.Neutral
and class attributes (ml-2 h-fit min-h-10 text-lg
) for consistent UI.ipcRenderer.send(channels.window.reload)
command to reload the installer.Modified
<input type="button">
element with theButton
component.packageInfo.configUrls.production
.ButtonType.Neutral
and class attributes (ml-2 h-fit min-h-10 text-lg
) for uniformity.Screenshots (if necessary)
Before:
After:
![grafik](https://private-user-images.githubusercontent.com/7781906/386960502-df9f531d-eb99-40ac-816c-edb6d592a075.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMDQ0OTgsIm5iZiI6MTczOTEwNDE5OCwicGF0aCI6Ii83NzgxOTA2LzM4Njk2MDUwMi1kZjlmNTMxZC1lYjk5LTQwYWMtODE2Yy1lZGI2ZDU5MmEwNzUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMTIyOTU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDUxODg2NTMxNzM2ODE3YzU1ZWQxMzU4NjgyZjQ3NjM4MWExZTA2NWMwNTdhNjc1ZDE5NmY1YTIyOGJkMzRjZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.tkaou9Xf3DaaPqzUfjmbruDJHo_AIMBLzXsqY5feiIo)
Additional context
Discord username (if different from GitHub):